package com.test.pattern.prototype.test1;

import java.io.Serializable;

/**
 * @ClassName: Student
 * @description:学生类
 * @author: Mr du
 * @create: 2024-02-17 17:12
 */
public class Student implements Serializable {

    /**
     * 学生名字
     */
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                '}';
    }
}
